/*
 * Copyright (c) 18/5/25 . All Rights Reserved.
 */
package com.cgmnx.admin.web.model.param;

import com.cgmnx.admin.common.util.JacksonMapper;
import com.cgmnx.admin.model.enums.ReplyAuditStatus;
import io.swagger.models.auth.In;
import lombok.Data;

import java.io.IOException;
import java.util.Date;

/**
 * @author: z Date: 18/5/25 Time: 下午5:00
 * @version: 1.0.0
 */
@Data
public class ReplySaveParam  {

    private Integer id;

    private Long userId;

    private Long replyUserId;

    private String userName;

    private Long noteId;

    private String content;

    private Integer tierNum;

    private Integer likeNum;


    private Date auditTime;

    private String createUser;

    private String updateUser;

    public static void main(String[] args) throws IOException {
        ReplySaveParam param = new ReplySaveParam();

        param.setNoteId(12L);
        param.setReplyUserId(121L);
        param.setUserName("create");
        param.setContent("出国真的很好");
        param.setTierNum(1);
        param.setLikeNum(23);
        param.setUserId(12L);

        System.out.println(JacksonMapper.encode(param));
    }

}
